package com.jymj.service;


import com.jymj.entity.CjEntity;
import com.jymj.entity.YlEntity;
import com.jymj.entity.landmanage.IllegalEntity;
import com.jymj.entity.landmanage.IllegalFileEntity;
import com.jymj.entity.landmanage.IllegalHistoryCount;
import com.jymj.entity.landmanage.IllegaltjEntity;
import com.jymj.entity.zjd.ZjdCountEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by dl on 2019/9/25.
 */
public interface IllegalService {
    int save(IllegalEntity illegalEntity);

    List<IllegalEntity> queryList(Map<String, Object> params);

    int updateStatus(IllegalEntity illegalEntity);

    int delete(Integer id);

    void saveFile(IllegalFileEntity illegalFileEntity);

    int queryTotal(Map<String, Object> params);

    List<IllegaltjEntity> queryTj(String xzqmc, Integer type);

    YlEntity queryByPoint(String point);

    IllegalHistoryCount getIllegalHistoryCount(String xzqmc, String points, Integer type, String code);

    CjEntity queryCjByPoint(String point);

    List<IllegalEntity> queryByLocation(String point);

    ZjdCountEntity queryIllCount(String point, Integer type, String code);

    List<IllegalFileEntity> queryFiles(Integer id);
}
